import http from "@/utils/http";

//根据单元id查询房屋列表
export async function getHouseListByUnitIdApi(parm) {
  return await http.get("/house/getHouseListByUnitId", parm);
}

//新增物业费
export async function addWyApi(parm) {
  return await http.post("/wy", parm);
}

//分页查询
export async function getWyListApi(parm) {
  return await http.get("/wy/list", parm);
}

//编辑物业费
export async function editWyApi(parm) {
  return await http.put("/wy", parm);
}

//删除物业费
export async function deleteWyApi(parm) {
  return await http.delete("/wy", parm);
}

//缴物业费
export async function payWyApi(parm) {
  return await http.post("/wy/payWy", parm);
}
